package com.tg.demo.mapper;

import com.tg.demo.entity.Study;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * StudyMapper
 *
 * @author yuanjin
 * @date 2019/3/30
 */
@Mapper
public interface StudyMapper {

    /**
     * 查询list
     *
     * @param study 条件
     * @return list
     */
    List<Study> getListByCondition(Study study);

    List<Double> getItemsByAverageScore();

    List<Double> getItemsByCounselorScore();

    List<Integer> getItemsByStudyTime();

    List<Integer> getItemsByReadBookCount();

    List<Integer> getItemsByFailedCount();

    List<Integer> getItemsByAwardCount();

    List<Integer> getItemsByTruancyCount();

    List<Integer> getItemsByCompetitionCount();
}
